﻿<Window x:Class="PdfViewer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Background="LightGray" Icon="pdf.ico"
        xmlns:WPFPdfViewer="clr-namespace:WPFPdfViewer;assembly=WPFPdfViewer" Title="PDF Viewer" Height="450" Width="625" Loaded="WindowLoaded">
    <DockPanel LastChildFill="True">
        <StackPanel DockPanel.Dock="Top" Margin="0,5,0,5" Orientation="Horizontal">
            <TextBlock Margin="0,0,5,0" VerticalAlignment="Center">Pdf File Location:</TextBlock>
            <TextBox x:Name="txtFileLoaction" Width="300"></TextBox>
            <Button Margin="5,0,5,0" Click="ButtonClick">...</Button>
            <Button Margin="5,0,5,0" Width="75" Click="Button_Click">Open</Button>
        </StackPanel>
        <WPFPdfViewer:PdfViewer x:Name="pdfViewer">
            
        </WPFPdfViewer:PdfViewer>
    </DockPanel>
</Window>
